package com.woniu.client;

import com.woniu.config.FeignLogConfiguration;
import com.woniu.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "erp-system-management", qualifier = "equipmentManagement", configuration = FeignLogConfiguration.class)
public interface ManagementClient {

    @PostMapping("systemLog/add")
    public ResponseResult<String> addSystemLog(@RequestParam("systemClassificationName") String systemClassificationName);

}
